Skip to content

[Diagram]: Various Fixes#374

Merged
EagleoutIce merged 5 commits into
mainfrom
373-diagram-update-fixes
May 22, 2026
Merged

[Diagram]: Various Fixes#374
EagleoutIce merged 5 commits into
mainfrom
373-diagram-update-fixes

Conversation

@gigalasr

@gigalasr gigalasr commented May 21, 2026

Copy link
Copy Markdown
Collaborator
  • Updates Meramid to v11 to fix AST view
  • Unifies init and update of mermaid diagram to both use the content_update message
  • Persists zoom and pan across diagram updates
  • Cleans up old panZoom objects
  • Makes sure entire graph fits when opening new window
  • Allows "infinite" zoom
  • "Open in Editor Link" is now also updated when the diagram updates
  • Test the success of the actual mermaid diagram generation as well now

gigalasr added 5 commits May 21, 2026 17:45
- Unify the initilization and update of diagrams
- Prevent panZoom objects from leaking
- Remember pan and zoom when updating the diagram to prevent jumping
- Fit the entire diagram when loading
- Update mermaid version to v11
@EagleoutIce EagleoutIce merged commit e7a88a8 into main May 22, 2026
7 checks passed
@EagleoutIce EagleoutIce deleted the 373-diagram-update-fixes branch May 22, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants